package com.youlu.campus.entity;

import com.youlu.campus.base.base.EntityBase;
import lombok.Getter;
import lombok.Setter;
import org.springframework.data.mongodb.core.index.Indexed;
import org.springframework.data.mongodb.core.mapping.Document;

import java.util.Date;

@Getter
@Setter
@Document(collection = "user_app_sub_wechat_template_msg_log")
public class UserAppSubWechatTemplateMsgLog extends EntityBase {
    @Indexed
    private String userId;
    @Indexed
    private String platform;
    private String appId;
    private String taskId;
    @Indexed
    private String templateId;
    /**
     * 订阅时间
     */
    @Indexed
    private Date subTime;

    private String openId;

    private String unionId;
}
